package com.upcode.weighing.domain;

import java.time.LocalDateTime;
import com.upcode.weighing.base.domain.BaseEntity;

/**
 * <p>
 * 字典类型表
 * </p>
 *
 * @author alex
 * @since 2019-04-12
 */
public class SysDictType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 字典类型名称
     */
    private String name;

    /**
     * 1 可用 0 不可用 -1: 删除
     */
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SysDictType{" +
        "id=" + id +
        ", name=" + name +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
